package com.xkcoding.task;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.JSON;
import com.xkcoding.task.config.ArtemisPostTest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import static cn.hutool.core.date.DatePattern.*;

/**
 * <p>
 * 启动器
 * </p>
 *
 * @author yangkai.shen
 * @date Created in 2018-11-22 19:00
 */
@SpringBootApplication
@Slf4j
public class SpringBootDemoTaskApplication {

    
    public static void main(String[] args) throws Exception {
        SpringApplication.run(SpringBootDemoTaskApplication.class, args);
        String response = ArtemisPostTest.callPostSubscriptionByEventTypes();
        log.info("init success : {}", JSON.toJSONString(response));
    }


}
